package org.poseidon;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import java.sql.SQLException;

/**
 * @program: poseidon
 * @description:

 * @create: 2021-11-29 17:10
 **/
@EnableTransactionManagement
@SpringBootApplication
@ComponentScan(basePackages = {"org.poseidon.*"})
public class PoseidonStarter {
    public static void main(String[] args) throws SQLException {
        SpringApplication.run(PoseidonStarter.class, args);
        System.out.println("   _ (`-.                .-')      ('-.           _ .-') _                    .-') _         .-')    .-') _      ('-.     _  .-')   .-') _    \n" +
                "  ( (OO  )              ( OO ).  _(  OO)         ( (  OO) )                  ( OO ) )       ( OO ). (  OO) )    ( OO ).-.( \\( -O ) (  OO) )   \n" +
                " _.`     \\ .-'),-----. (_)---\\_)(,------.  ,-.-') \\     .'_  .-'),-----. ,--./ ,--,'       (_)---\\_)/     '._   / . --. / ,------. /     '._  \n" +
                "(__...--''( OO'  .-.  '/    _ |  |  .---'  |  |OO),`'--..._)( OO'  .-.  '|   \\ |  |\\       /    _ | |'--...__)  | \\-.  \\  |   /`. '|'--...__) \n" +
                " |  /  | |/   |  | |  |\\  :` `.  |  |      |  |  \\|  |  \\  '/   |  | |  ||    \\|  | )      \\  :` `. '--.  .--'.-'-'  |  | |  /  | |'--.  .--' \n" +
                " |  |_.' |\\_) |  |\\|  | '..`''.)(|  '--.   |  |(_/|  |   ' |\\_) |  |\\|  ||  .     |/        '..`''.)   |  |    \\| |_.'  | |  |_.' |   |  |    \n" +
                " |  .___.'  \\ |  | |  |.-._)   \\ |  .--'  ,|  |_.'|  |   / :  \\ |  | |  ||  |\\    |        .-._)   \\   |  |     |  .-.  | |  .  '.'   |  |    \n" +
                " |  |        `'  '-'  '\\       / |  `---.(_|  |   |  '--'  /   `'  '-'  '|  | \\   |        \\       /   |  |     |  | |  | |  |\\  \\    |  |    \n" +
                " `--'          `-----'  `-----'  `------'  `--'   `-------'      `-----' `--'  `--'         `-----'    `--'     `--' `--' `--' '--'   `--'   ");
    }
}
